package com.shangxia.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author zhouya38158
 * @date 2021/11/12 9:34
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.shangxia")
@MapperScan("com.shangxia.product.mapper")
@EnableSwagger2
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class, args);
    }
}
